package alt.fr.ma.np.activities;

import alt.fr.ma.np.R;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.Display;
import android.view.Surface;
import android.view.WindowManager;

public class TipsActivity extends Activity {

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		Display display = ((WindowManager) getSystemService(Context.WINDOW_SERVICE))
				.getDefaultDisplay();
		switch (display.getRotation()) {
		case Surface.ROTATION_0:
			setContentView(R.layout.tips);
			break;
		case Surface.ROTATION_90:
			setContentView(R.layout.tips_landscape);
			break;
		case Surface.ROTATION_180:
			break;
		case Surface.ROTATION_270:
			break;
		}
	}
}
